import PyInstaller.__main__
import os
import sys

os.environ["PYDEVD_DISABLE_FILE_VALIDATION"] = "1"

sys.setrecursionlimit(10000)
if __name__ == "__main__":
    PyInstaller.__main__.run(
        [
            "webServer.py",
            "--onefile",
            "--name=web-server",
            # '--icon=your_icon.ico'
        ]
    )
